package org.jeecg.client;

import java.util.ArrayList;
import java.util.List;

/**
 * @author bright
 * 业务数据表
 */
public class DataTable{
	private String name;
	private List<DataRow> rows;

	public DataTable(String name) {
		super();
		this.name = name;
		rows = new ArrayList<DataRow>();
	}
	
	public void addRow(DataRow row){
		rows.add(row);
	}
	
	public List<DataRow> getRows(){
		return rows;
	}

	public void setRows(List<DataRow> rows) {
		this.rows = rows;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
